
<h2 class="title3" style="width: 95%">
	添加页面	
</h2>
<% form_tag("/content/create_front", :method => :post, :multipart => true, :name => "postform") do %>
	<p><label style="font-size: 14px">标题：</label>
	<%= text_field :front, :title, :class => "text",:style => "width:45%" %></p>
	<p>
	<label style="font-size: 14px">描述：</label>
	<%= text_field :front, :desc, :class => "text",:style => "width:45%" %>
	</p>
	<p>
		<label style="font-size: 14px">图标：</label>
		<%= file_field :front, :icon %>
	</p>
	<%= render :partial => "share/post_content", :locals => {:post => @front} %>
  <%= submit_tag "保存", :class => "submit" %>
<% end %>

<%= render :partial => "share/upload_file" %>
